
@PACKAGE_INIT@

include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")

set(@PROJECT_NAME@_VERSION_MAJOR @PROJECT_VERSION_MAJOR@)
set(@PROJECT_NAME@_VERSION_MINOR @PROJECT_VERSION_MINOR@)
set(@PROJECT_NAME@_VERSION_PATCH @PROJECT_VERSION_PATCH@)
set(@PROJECT_NAME@_VERSION @PROJECT_VERSION@)
set(@PROJECT_NAME@_INCLUDE_DIR ${PACKAGE_PREFIX_DIR}/include)

find_package(turbo REQUIRED)
include_directories(${turbo_INCLUDE_DIR})
find_package(ZLIB REQUIRED)
find_package(zstd CONFIG REQUIRED)
find_package(Snappy REQUIRED)
find_package(BZip2 REQUIRED)
find_package(unofficial-brotli CONFIG REQUIRED)
find_package(lz4 CONFIG REQUIRED)

set(ENABLE_ZLIB TRUE)
set(ENABLE_LZ4 TRUE)
set(ENABLE_SNAPPY TRUE)
set(ENABLE_ZSTD TRUE)
set(ENABLE_BZIP2 TRUE)

message(STATUS "ENABLE_ZLIB: ${ENABLE_ZLIB}")
message(STATUS "ENABLE_LZ4: ${ENABLE_LZ4}")
message(STATUS "ENABLE_SNAPPY: ${ENABLE_SNAPPY}")
message(STATUS "ENABLE_ZSTD: ${ENABLE_ZSTD}")
message(STATUS "ENABLE_BZIP2: ${ENABLE_BZIP2}")

set(alioth_DEPS_LINK
        ZLIB::ZLIB
        zstd::libzstd
        Snappy::snappy
        BZip2::BZip2
        turbo::turbo_static
        lz4::lz4
        unofficial::brotli::brotlidec
        unofficial::brotli::brotlienc
        )